# v1 = [1,2,3,4,5]
# v2 = [v1,v1,v1]
#
# v1.append(6)
# print(v1)
# print(v2)

# v1 = [1,2,3,4,5]
# v2 = [v1,v1,v1]
#
# v2[1][0] = 111
# v2[2][0] = 222
# print(v1)
# print(v2)


# v1 = [1,2,3,4,5,6,7,8,9]
# v2 = {}
#
# for item in v1:
#     if item < 6:
#         continue
#     if 'k1' in v2:
#         v2['k1'].append(item)
#     else:
#         v2['k1'] = [item ]
# print(v2)

# import copy
#
# v1 = "alex"
# v2 = copy.copy(v1)
# v3 = copy.deepcopy(v1)
#
# print(v1 is v2)
# print(v1 is v3)

# import copy
#
# v1 = [1,2,3,4,5]
# v2 = copy.copy(v1)
# v3 = copy.deepcopy(v1)
#
# print(v1 is v2)
# print(v1[1] is v3[1])

# import copy
#
# v1 = [1,2,3,4,5]
#
# v2 = copy.copy(v1)
# v3 = copy.deepcopy(v1)
#
# print(v1[0] is v2[0])
# print(v1[0] is v3[0])
# print(v2[0] is v3[0])


# import copy
#
# v1 = [1,2,3,4,5]
#
# v2 = copy.copy(v1)
# v3 = copy.deepcopy(v1)
#
# print(v1[0] is v2[0])
# print(v1[0] is v3[0])
# print(v2[0] is v3[0])


# import copy
#
# v1 = [1,2,3,{"name":'武沛齐',"numbers":[7,77,88]},4,5]
#
# v2 = copy.copy(v1)
#
# print(v1 is v2)
#
# print(v1[0] is v2[0])
# print(v1[3] is v2[3])
#
# print(v1[3]['name'] is v2[3]['name'])
# print(v1[3]['numbers'] is v2[3]['numbers'])
# print(v1[3]['numbers'][1] is v2[3]['numbers'][1])


# import copy
#
# v1 = [1,2,3,{"name":'武沛齐',"numbers":[7,77,88]},4,5]
#
# v2 = copy.deepcopy(v1)
#
# print(v1 is v2)   #False
#
# print(v1[0] is v2[0])   #True
# print(v1[3] is v2[3])   #False
#
# print(v1[3]['name'] is v2[3]['name'])
# print(v1[3]['numbers'] is v2[3]['numbers'])
# print(v1[3]['numbers'][1] is v2[3]['numbers'][1])
# info = ['骗子，','不是','说','只有',"10",'个题吗？']
# info = "_".join(info)
# print(info)
# file = open("readme.txt","w",encoding="utf-8")
# file.write(info)
# file.close()
# info = {'name':'骗子','age':18,'gender':'性别'}
# li = []
# for i in info.keys():
#     li.append(i)
# message = "_".join(li)
# file = open("readmee.txt","w",encoding="utf-8")
# file.write(message)
# file.close()

# message = open("data.txt","r")
# List = []
# mes = []
# dic = {}
# while True:
#     messages = message.readline()
#     if messages == "":
#         break
#     mes.append(messages)
# for i in mes:
#     i = i.split("|")
#     dic["name"] = i[0]
#     dic["pwd"] = i[1]
#     dic["email"] = i[2]
#     List.append(dic)
#

